home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-10-31 | 866 b | 42 lines | [TEXT/TPAS] |
- Unit PaintToolUnit(88);
-
- {$U-}
-
- Interface
-
- Uses
- MemTypes,QuickDraw,OSIntf,ToolIntf;
-
- Const
- { tool constants }
- TText = 1; { not used }
- TPencil = 2;
- THand = 3; { not used }
- TGrabber = 4; { not used }
- TBucket = 5;
- TLasso = 6; { not used }
- TBrush = 7;
- TSpray = 8;
- TLine = 9;
- TEraser = 10;
- TRect = 11;
- TRectF = 12;
- TRRect = 13;
- TRRectF = 14;
- TOval = 15;
- TOvalF = 16;
- TArc = 17;
- TArcF = 18;
- TRLine = 19;
- TRLineF = 20; { not implemented }
- TSLine = 21; { not implemented }
- TSLineF = 22; { not implemented }
-
- { error constants }
- TUnknown = 800;
- TUnImp = 801;
-
- Function InitPaintTools : Integer;
- Procedure DoPaintTools (which : Integer; where : Point; modifiers : Integer);
- Function PTError : OSErr;
-